Ooops during shutdown - amdgpu_vm_grab_id
https://bugs.freedesktop.org/show_bug.cgi?id=93460
Bug ID: 93460
Summary: [amdgpu] Ooops during shutdown - amdgpu_vm_grab_id
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
This doesn't happen on the powerplay branch but it does happen on Linus's tree 4.4-rc5
As this appears related to the scheduler I can go back to kernel 4.3 and test that and if it doesn't happen try and bisect if you think it's worthwhile
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
Mike Lothian <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Mike Lothian <[email protected]> --- Created attachment 120605
--> https://bugs.freedesktop.org/attachment.cgi?id=120605&action=edit
Screenshot of oops
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
--- Comment #2 from Mike Lothian <[email protected]> ---
I tried to bisect between v4.3 and HEAD but there were too many other issues getting in the way - i915, ath10k - making remoting in too difficult when the screen wasn't showing anything
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
--- Comment #3 from [email protected] <[email protected]> --- 0x24e7e is in amdgpu_vm_grab_id (include/linux/fence.h:292).
287 * Returns true if f1 is chronologically later than f2. Both fences must
be
288 * from the same context, since a seqno is not re-used across contexts.
289 */
290 static inline bool fence_is_later(struct fence *f1, struct fence *f2)
291 {
292 if (WARN_ON(f1->context != f2->context))
293 return false;
This should be normal warnings, isn't bug.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
--- Comment #4 from Mike Lothian <[email protected]> ---
When this happens my machine just freezes, the only way to continue is to press and hold the power button but that doesn't cleanly unmount the disks
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
--- Comment #5 from Christian König <[email protected]> --- (In reply to Mike Lothian from comment #4)
Quoted 2 lines
When this happens my machine just freezes, the only way to continue is to press and hold the power button but that doesn't cleanly unmount the disks
Yeah, that is clearly a bug when the driver unloads.
Probably rather hard to reproduce, we should add a test case which loads and unloads the driver multiple times while there is load.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
--- Comment #6 from [email protected] <[email protected]> --- (In reply to Christian König from comment #5)
Quoted 8 lines
(In reply to Mike Lothian from comment #4)
Quoted 2 lines
When this happens my machine just freezes, the only way to continue is to press and hold the power button but that doesn't cleanly unmount the disks
Yeah, that is clearly a bug when the driver unloads.
Probably rather hard to reproduce, we should add a test case which loads and unloads the driver multiple times while there is load.
Maybe we shall avoid to use fence for vmid, instead using LRU list.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
--- Comment #7 from Christian König <[email protected]> --- (In reply to [email protected] from comment #6)
Quoted 1 line
Maybe we shall avoid to use fence for vmid, instead using LRU list.
Yeah, thought about that as well. The problem is that we used to have an LRU list and I switched to fences because they had less overhead.
We still need to keep the fences around for synchronization, so I'm not sure if that would really help.
The real price question is what is going wrong here?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
--- Comment #8 from [email protected] <[email protected]> --- (In reply to Christian König from comment #7)
Quoted 10 lines
(In reply to [email protected] from comment #6)
Quoted 1 line
Maybe we shall avoid to use fence for vmid, instead using LRU list.
Yeah, thought about that as well. The problem is that we used to have an LRU list and I switched to fences because they had less overhead.
We still need to keep the fences around for synchronization, so I'm not sure if that would really help.
The real price question is what is going wrong here?
yes, we need to identify why the contexts of two fences are different, where two fences come from, what the kind of two fences are, which ring two fences belong.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93460
Mike Lothian <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #9 from Mike Lothian <[email protected]> --- Not seen this in a while now
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel